<%@ Register TagPrefix="board" TagName="topNav" Src="UserControls/topNav.ascx" %>
<%@ Register TagPrefix="board" TagName="footer" Src="UserControls/footer.ascx" %>
<%@ Page language="c#" Inherits="LocalBoard.Web.Register" CodeFile="Register.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<title>Register</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="stylesheets/board.css" rel="stylesheet">
  </HEAD>
	<body background="images/bg_blueFade.jpg">
		<form id="Form1" method="post" runat="server">

<board:topNav id="topNav" runat="server" />

<table cellSpacing="0" cellPadding="0" width="798" border="0" bgcolor="#ffffff">
  <tbody>
  <tr>
    <td id="leftNav" width="100" runat="server">
Registration
		</td>
    <td bgcolor="#ffffff" width="2"><img src="images/space.gif" border="0" height="1" width="2"></td>
    <td bgcolor="#37a0ed" width="1"><img src="images/space.gif" border="0" height="1" width="1"></td>
    <td bgcolor="#ffffff" width="2"><img src="images/space.gif" border="0" height="1" width="3"></td>
    <td bgcolor="#37a0ed" width="1"><img src="images/space.gif" border="0" height="1" width="1"></td>
    <td bgcolor="#ffffff" width="2"><img src="images/space.gif" border="0" height="1" width="2"></td>
		<td id="body" width="689" runat="server">
			<table id="registrationInfo" border="0" cellpadding="0" width="100%">
			<tr>
				<td width="20%">User Id:</td>
				<td><asp:textbox id="userId" Runat="server" MaxLength="20"></asp:textbox>
				<asp:requiredfieldvalidator id="RequiredFieldValidator1" Runat="server" ErrorMessage="User ID is required."	ControlToValidate="userId"></asp:requiredfieldvalidator></td>
			</tr>
			<tr>
				<td>Name:</td>
				<td><asp:textbox id="name" Runat="server" MaxLength="50"></asp:textbox></td>
			</tr>
			<tr id="passwordRow" runat="server">
				<td>Password:</td>
				<td><asp:textbox id="password" Runat="server" MaxLength="20" TextMode="Password"></asp:textbox>
				<asp:requiredfieldvalidator id="RequiredFieldValidator2" Runat="server" ErrorMessage="Password is required." ControlToValidate="password"></asp:requiredfieldvalidator></td>
			</tr>
			<tr id="confirmPwdRow" runat="server">
				<td>Confirm pwd:</td>
				<td><asp:textbox id="confirmPassword" Runat="server" MaxLength="20" TextMode="Password"></asp:textbox></td>
			</tr>
			<tr>
				<td>Email:</td>
				<td><asp:textbox id="email" Runat="server" MaxLength="50"></asp:textbox></td>
			</tr>
			<tr>
				<td>Photo:</td>
				<td><input id="photoUpload" type="file" size="50" Runat="server"></td>
			</tr>
			<tr>
				<td valign="top">Biography:</td>
				<td><asp:textbox id="biography" TextMode="MultiLine" Height="300" Width="300" Runat="server" MaxLength="1000"></asp:textbox></td>
			</tr>
			<tr>
				<td colspan="2"><asp:label id="registrationError" Runat="server" Visible="False"></asp:label></td>
			</tr>
			</table>
			<br>
			<asp:Button ID="submitBtn" Runat="server" Text="Register" onclick="submitBtn_Click" />
		</td>
	</tr>
	</tbody>
</table>

<board:footer id="footer" runat="server" />

</form>
	</body>
</HTML>
